package com.sspro.simplertmp.core.utils;

public class Constant {

    /**
     * 是否开启录音
     */
    public static boolean isRecording;

    /**
     * 推送错误码管理
     * 1xx 编码级错误
     * 2xx
     */
    public static int pushErrorCode;

    /**
     * 相机类型
     */
    public interface CameraType {
        int BACK = 0;
        int FRONT = 1;
        int EXIT = 2;
    }

    /**
     * 相机状态
     */
    public interface CameraStatus {
        int CLOSE = 0;
        int OPEN = 1;
    }

    /**
     * 渲染错误码
     */
    public interface RenderErrorCode {
        int HOLDER_NOT_NULL = 1001;
    }

    /**
     * 编码错误回调
     */
    public interface EncodeErrorCode {
        int SEND_FRAME_FAILED = 100;
    }

    /**
     * 音频类型
     */
    public interface AudioType {
        int AMR = 0;
        int AAC = 1;
        int PCM = 0xff;
    }

}
